﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace Kimd.Communication
{
  public  class TcpClientStateEventArgs:EventArgs
    {
        /// <summary>
        /// 客户端信息
        /// </summary>
        public TcpClient TcpClient { get; set; }
        public TcpClientStateEventArgs(TcpClient tcpClient)
        {
            if (tcpClient == null)
                throw new ArgumentNullException("TcpClient");
            TcpClient = tcpClient;
        }
    }
}
